-- stone_skill
-- created by panyl
-- 魔法石柱技能

return {
    doAction = function(action, extra)
        local pos = action.pos;
        if nil ~= extra then
            -- 真实客户端环境
            return MagicStoneM.apply(extra, pos);
        end
        
        -- stoneId -> skillId
        local stoneId = action.data;
        local effect = MagicStoneM.getEffect(stoneId);
        local skillId = effect["skill_id"];
        return MagicStoneM.apply(skillId, pos);
    end,
};
